package com.ruoyi.wsy.controller;

import com.ruoyi.wsy.domain.R;
import com.ruoyi.wsy.service.EvaluateService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName EvaluateController
 * @Description TODO
 * @Author wangshuyu
 * @Date 2025年11月15日 16:52
 * @Version 1.0
 */
@RestController
@RequestMapping("/evaluate")
public class EvaluateController {

    @Autowired
    private EvaluateService evaluateService;

    @GetMapping("/list")
    public R getList(Integer merchantId) {
        return R.success(evaluateService.getList(merchantId));
    }


}
